package com.woniu.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * 章节表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel(value = "章节实体类")
public class CourseSection implements Serializable {
    @ApiModelProperty(value = "章节id")
    private  Integer id; //                  int not null,
    @ApiModelProperty(value = "章节名 ")
    private String chapter;//    章节名          varchar(50) not null,
    @ApiModelProperty(value = "章节序号")
    private  Integer selectionNumber; //章节序号     int not null,
    @ApiModelProperty(value = "课程id")
    private  Integer courseId ;//   课程id         int not null,
    @ApiModelProperty(value = "课件id")
    private  Integer csId;//课件id
    @ApiModelProperty(value = "章节对应的课件集合")
    private List<Courseware> coursewares;//章节对应的课件

}
